package com.springboot.mapper.test2;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.SelectProvider;

import com.springboot.bean.TestBean;
import com.springboot.mapper.provider.TestProvider;

@Mapper
public interface Test2Mapper {

	@SelectProvider(type = TestProvider.class, method = "getTestBeanById")
	public TestBean getTestBeanById(@Param("tableName") String tableName, @Param("id") int id);

}
